pub fn new_birthday_probability(n: u32) -> f64 {
    const DAYS: u32 = 365;

    let mut not_same_prob = 1.0;

    for i in 0..n {
        not_same_prob *= (DAYS - i) as f64 / DAYS as f64;
    }

    let result: f64 = 1.0 - not_same_prob;

    (result * 10000.0).round() / 10000.0
}
